home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Format 1995 June
/
MacFormat 25.iso
/
Shareware City
/
Developers
/
OutOfPhase1.1 Source
/
OutOfPhase Folder
/
LinearTransition.h
< prev
next >
Wrap
Text File
|
1994-06-19
|
1KB
|
37 lines
/* LinearTransition.h */
#ifndef Included_LinearTransition_h
#define Included_LinearTransition_h
/* LinearTransition module depends on */
/* MiscInfo.h */
/* Audit */
/* Debug */
/* Definitions */
/* Memory */
struct LinearTransRec;
typedef struct LinearTransRec LinearTransRec;
/* open a new linear transition state record */
LinearTransRec* NewLinearTransition(long Start, long Destination, long TicksToReach);
/* refill a linear transition with new state information */
void RefillLinearTransition(LinearTransRec* TransRec, long Start,
long Destination, long TicksToReach);
/* get rid of a linear transition state record */
void DisposeLinearTransition(LinearTransRec* TransRec);
/* get rid of all cached transition state records */
void FlushLinearTransitionRecords(void);
/* execute one cycle and return the value */
long LinearTransitionUpdate(LinearTransRec* TransRec);
/* execute multiple cycles and return the value */
long LinearTransitionUpdateMultiple(LinearTransRec* TransRec,
long NumCycles);
#endif